package com.zjcloud.motr.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;

/**
 * 计时类型维护对象 zjy_timing_type
 *
 * @author wxl
 * @date 2024-09-24
 */
public class ZjyTimingType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键标识 */
    private Long id;

    /** 计时类型名称 */
    @Excel(name = "计时类型名称")
    private String timingName;

    /** 每小时工资率 */
    @Excel(name = "每小时工资率")
    private BigDecimal hourlyRate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.timingName = name;
    }

    public String getName()
    {
        return timingName;
    }
    public void setHourlyRate(BigDecimal hourlyRate)
    {
        this.hourlyRate = hourlyRate;
    }

    public BigDecimal getHourlyRate()
    {
        return hourlyRate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("hourlyRate", getHourlyRate())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
